// 请求参数序列化
function qs(arr, key) {
    let str = `&${key}=`;
    let params = "";
    arr.forEach((val) => {
        params += str + val;
    });
    return '?' + params;
}
export default qs;